package org.tigris.atlas.core.transfer;

import org.tigris.atlas.core.messages.Messages;

import com.agitar.lib.MockUtils;

public class OplockEnabledTransferObject implements TransferObject {

	private Integer oplock;
	
	/**
	 * @return Returns the oplock.
	 */
	public Integer getOplock() {
		return oplock;
	}

	/**
	 * @param oplock The oplock to set.
	 */
	public void setOplock(Integer oplock) {
		this.oplock = oplock;
	}

	public String getEntityName() {
		return (String)MockUtils.getObject(String.class.getName());
	}

	public PrimaryKey getKey() {
		return (PrimaryKey)MockUtils.getObject(PrimaryKey.class.getName());
	}

	public void setKey(PrimaryKey key) {
		// TODO Auto-generated method stub

	}

	public Messages getMessages() {
		return (Messages)MockUtils.getObject(Messages.class.getName());
	}

	public Messages getAllMessages() {
		return (Messages)MockUtils.getObject(Messages.class.getName());
	}

}
